package com.ddwl.schema.vo.goods.retail;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.Instant;
import java.util.List;

/**
 * @Author hemiaojun
 * @Date 2021/1/11 11:39
 */
@Getter
@Setter
@ApiModel("五八马小程序商家端 店铺商品vo")
public class MerchantShopItemPageVo {
    @ApiModelProperty("ID")
    private String id;
    @ApiModelProperty("商品名称")
    private String itemName;
    @ApiModelProperty("销售价")
    private BigDecimal retailPrice;
    @ApiModelProperty("优惠价")
    private BigDecimal originPrice;
    @ApiModelProperty("商品状态 0下架 1上架")
    private Integer itemStatus;
    @ApiModelProperty("主图url")
    private String itemImage;
    @ApiModelProperty("销量")
    private Integer sales;
    @ApiModelProperty("库存")
    private Integer stock;
    @ApiModelProperty("创建时间")
    private Instant gmtCreated;
    @ApiModelProperty("规格类型 0：单规格，1：多规格")
    private Integer skuType;
    @ApiModelProperty("商品sku列表")
    private List<ShopItemSkuVo> skuList;
    @ApiModelProperty("代理商品标识：0：否，1：是 (值为1说明该商品本身是从代理商复制过来的商品，不能被别人复制。)")
    private Integer agencyFlag;
    @ApiModelProperty("商品预估佣金")
    private BigDecimal itemCommission;
    @ApiModelProperty("分享描述")
    private String shareDesc;
    @ApiModelProperty("是否推荐")
    private Boolean recommend;
    @ApiModelProperty("小程序码")
    private String wxaCode;
}
